package models;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.Id;

import play.db.jpa.GenericModel;

@Entity
public class Friend extends Ceng433BaseModel {
  @Id
  long id;
  
  long userID;
  long friendID;
  
  public static List<Friend> getAllFriendsByUserId(String userId) {
	  List<Friend> friends = Friend.find("byUserId", userId).fetch();
	  return null;
  }
}
